package com.atmilan.quartz.model.entity.paolo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * 功能描述: paolo商品sku映射
 *
 * @Author: wangzh
 * @Date: 2023/2/8 16:41
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class PaoloProductSku extends Model<PaoloProductSku> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品id")
    private Integer productId;

    @ApiModelProperty("gtin")
    private String gtin;

    @ApiModelProperty("尺码")
    private String size;

    @ApiModelProperty("库存")
    private Integer stock;

    @ApiModelProperty("零售价")
    private BigDecimal retailPrice;

    @ApiModelProperty("价格")
    private BigDecimal price;
}
